import React, { Component } from 'react'
import {Route,Redirect} from 'react-router-dom'
import Frist_two from './pages/Frist_two/Frist_two'
import Frist_one from './pages/Frist_one/Frist_one'
import './App.css'

export default class App extends Component {
  render() {
    return (
      <div>
          <Route path="/frist_two" component={Frist_two}></Route>
          <Route path="/frist_one" component={Frist_one}></Route>
          <Redirect exact from="/" to="/frist_one"></Redirect>
      </div>
    )
  } 
}
  